package com.example.project3.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName user
 */
@TableName(value = "user")
@Data
public class User implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(value = "uid", type = IdType.AUTO)
    private Integer uid;
    /**
     *
     */
    @TableField(value = "nickname")
    private String nickname;
    /**
     *
     */
    @TableField(value = "email")
    private String email;
    /**
     * pas
     */
    @TableField(value = "password")
    private String password;
    /**
     *
     */
    @TableField(value = "ics_file_name")
    private String icsFileName;
}